//
//  WiFiSendDataManager.h
//  SmartYunYiWindow
//
//  Created by JianWei Chen on 17/4/10.
//  Copyright © 2017年 JianWei Chen. All rights reserved.
//

#import <Foundation/Foundation.h>

/**
 app发送至设备端的指令
 */
typedef NS_ENUM(int,DTAppToDeviceCommandType)
{
    AppToDeviceCommandDeviceState            = 0x1001,
    AppToDeviceCommandDeviceTemperature           = 0x1002,
    AppToDeviceCommandDeviceTiming            = 0x1003,
    AppToDeviceCommandDeviceSleep     = 0x1004,
    AppToDeviceCommandDeviceLock     = 0x1005,
    AppToDeviceCommandDevicePower     = 0x1006,
    AppToDeviceCommandDeviceLight     = 0x1009,

};

@class DTDevice;

typedef void (^WiFiToothAction) (void);

@interface WiFiSendDataManager : NSObject

+ (WiFiSendDataManager *)defaultService;
- (void)getDeviceState:(NSString *)macAddress;
- (void)settingTemperature:(NSString *)macAddress value:(NSString *)value;
- (void)settingTiming:(NSString *)macAddress value:(NSString *)value;
- (void)settingSleep:(NSString *)macAddress value:(NSString *)value;
- (void)settingLock:(NSString *)macAddress value:(NSString *)value;
- (void)settingPower:(NSString *)macAddress value:(NSString *)value;
- (void)settingLight:(NSString *)macAddress value:(NSString *)value;

@end
